import {Module} from "@nestjs/common";
import {SysMenuController} from "../controller/SysMenuController";
import {SysMenuService} from "../service/SysMenuService";
import {TypeOrmModule} from "@nestjs/typeorm";
import {SysMenu} from "../entity/SysMenu";
import {SysRole} from "../entity/SysRole";

@Module({
    imports: [
        TypeOrmModule.forFeature([
            SysMenu,
            SysRole
        ])
    ],
    controllers: [
        SysMenuController
    ],
    providers: [
        SysMenuService,
    ],
    exports: [
        SysMenuService
    ]
})
export class SysMenuModule {

}
